services.borgbackup.jobs.<name>.postHook

Shell commands to run just before exit. They are executed even if a previous command exits with a non-zero exit code. The latter is available as $exitStatus.

Type
strings concatenated with "\n"
Default
""
Declared
<nixpkgs/nixos/modules/services/backup/borgbackup.nix>